#pragma once

#include "const.h"


class CServer:public std::enable_shared_from_this<CServer>
{
public:
	CServer(boost::asio::io_context& ioc, unsigned short port);
	void Start();
	void DoAccept();

private:
	net::io_context& _ioc;
    tcp::acceptor _acceptor;
	
};

